package com.buke66.taoduo.order.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.buke66.taoduo.common.utils.PageUtils;
import com.buke66.taoduo.common.utils.Query;

import com.buke66.taoduo.order.dao.OrderPaymentInfoDao;
import com.buke66.taoduo.order.entity.OrderPaymentInfoEntity;
import com.buke66.taoduo.order.service.OrderPaymentInfoService;


@Service("orderPaymentInfoService")
public class OrderPaymentInfoServiceImpl extends ServiceImpl<OrderPaymentInfoDao, OrderPaymentInfoEntity> implements OrderPaymentInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OrderPaymentInfoEntity> page = this.page(
                new Query<OrderPaymentInfoEntity>().getPage(params),
                new QueryWrapper<OrderPaymentInfoEntity>()
        );

        return new PageUtils(page);
    }

}